.class Lcom/waiqin365/lightapp/visit/b/bc;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/b/bb;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/b/bb;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/b/bc;->a:Lcom/waiqin365/lightapp/visit/b/bb;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/seniorvisitsubmit/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/b/bc;->a:Lcom/waiqin365/lightapp/visit/b/bb;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/b/bb;->a(Lcom/waiqin365/lightapp/visit/b/bb;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/b/bc;->a:Lcom/waiqin365/lightapp/visit/b/bb;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/b/bb;->a(Lcom/waiqin365/lightapp/visit/b/bb;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/b/bc;->a:Lcom/waiqin365/lightapp/visit/b/bb;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/b/bb;->b(Lcom/waiqin365/lightapp/visit/b/bb;)Landroid/content/Context;

    move-result-object v1

    instance-of v1, v1, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/b/bc;->a:Lcom/waiqin365/lightapp/visit/b/bb;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/b/bb;->b(Lcom/waiqin365/lightapp/visit/b/bb;)Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->a()V

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/b/bc;->a:Lcom/waiqin365/lightapp/visit/b/bb;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/visit/b/bb;->a(Ljava/lang/String;)V

    return-void
.end method
